package net.hn.hnms.biz.meeting.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@ApiModel("会议室管理")
public class MeetingRoomReq extends BaseReq {

    @ApiModelProperty(value = "id")
    private String meetingRoomId;

    @ApiModelProperty(value = "会议室名称")
    @NotNull(message = "会议室名称不能为空")
    private String meetingRoomName;

    @ApiModelProperty(value = "容纳人数")
    @NotNull(message = "容纳人数不能为空")
    private Integer capacity;

    @ApiModelProperty(value = "会议类型 0线上 1线下 2混合")
    @NotNull(message = "请选择会议类型")
    private String meetingRoomType;

    @ApiModelProperty(value = "会议室地点")
    @NotNull(message = "会议室地点不能为空")
    private String meetingRoomAddress;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "会议日期")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date meetingDate;

    @ApiModelProperty(value = "煤矿编码")
    private String mineCode;

    @ApiModelProperty(value = "公司编码")
    private String companyCode;




}
